import java.util.concurrent.atomic.AtomicInteger;

public class Threadlocal {
    public static void main(String[] args) {
        int COUNT_BITS = Integer.SIZE - 3;
        int RUNNING    = -1 << COUNT_BITS;
        System.out.println(RUNNING);
        AtomicInteger ctl = new AtomicInteger(RUNNING | 0);
        System.out.println(ctl.get());
    }
}
